public class Book
  {
    String bookname;
    String author;
    String press;
    String copyrightdate;

   public Book(String a,String b,String c,String d){
     bookname = a;
     author = b;
     press = c;
     copyrightdate = d;
   }
   public void setAll(String a,String b,String c,String d){ 
   bookname = a;
   author = b;
   press = c;	
   copyrightdate = d;
   }
   public String getBookname(){
     return bookname;
   }
   public String getAuthor(){
     return author;
   }
   public String getPress(){
     return press;
   }				       
   public String getCopyrightdate(){
     return copyrightdate;
   }
   public String toString()
   {
     return  bookname +"\t" + author +"\t" + press +"\t" + copyrightdate;
   }
}  
